﻿<template>
  <el-switch v-bind="$myProps" v-on="$myListeners" ref="switch"> </el-switch>
</template>

<script>
export default {
  props: {},
  computed: {
    $myProps() {
      return this.$public.inheritProps(this);
    },
    $myListeners() {
      return this.$public.inheritListeners(this);
    },
  },
  mounted() {
    this.$emit("mounted", {
      methods: {
        ...this.$public.inheritMethods({ vm: this, refName: "switch" }),
      },
    });
  },
  created() {
    this.$emit("created");
  },
};
</script>